package com.swxy.club.dto.dt;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "社团审批参数")
public class ClubApprovalDTO {

    @NotNull(message = "申请ID不能为空")
    @ApiModelProperty(value = "申请记录ID", required = true, example = "1")
    private Integer applicationId;

    @NotNull(message = "审批结果不能为空")
    @ApiModelProperty(value = "审批结果(true:通过,false:拒绝)", required = true, example = "true")
    private Boolean approved;

    @ApiModelProperty(value = "拒绝原因(当approved为false时必填)", example = "资料不完整")
    private String rejectReason;
}